﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework;

namespace KduneeShaders.PostProcess
{
    /// <summary>
    /// Shader nie wykonujący żadnych zmian obrazu
    /// </summary>
    public class NullPostProcess : PostProcessShader
    {
        /// <summary>
        /// Przygotuj shader do działania
        /// </summary>
        /// <param name="graphics">Menadżer wyświetlania</param>
        /// <param name="content">Menadżer danych</param>
        override public void Prepare(GraphicsDeviceManager graphics, ContentManager content)
        {
            effect = content.Load<Effect>(ShadersConfig.SHADERS_PATH + @"postprocess").Clone();
            effect.CurrentTechnique = effect.Techniques[0];
            base.Prepare(graphics, content);
        }
    }
}
